FROM openjdk:8-jdk-alpine

ADD target/*.jar /cloud-service/bit-gateway.jar

RUN echo 'Asia/Shanghai' > /etc/timezone

EXPOSE 88
ENTRYPOINT [ "java","-jar","-Xms100m","-Xmx100m","-Dspring.profiles.active=prod","/cloud-service/bit-gateway.jar" ]